<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" href="../../_third-party/bootstrap/bootstrap.css">
		<link rel="stylesheet" href="../../_third-party/bootstrap-datetimepicker/bootstrap-datetimepicker.css">
		<link rel="stylesheet" href="../../_third-party/bootstrap-switch/bootstrap-switch.css">
		<link rel="stylesheet" href="../../_third-party/bootstrap-table/bootstrap-table.css">
		<link rel="stylesheet" href="../../_third-party/jQuery-iCheck/jquery-icheck.css">
		<link rel="stylesheet" href="../../_third-party/jQuery-zTree/jquery-ztree.css">
		<link rel="stylesheet" href="../../_src/com.alert/alert.css">
		<link rel="stylesheet" href="../../_src/com.model/model.css">
		<link rel="stylesheet" href="../../_third-party/umeditor/themes/default/css/umeditor.min.css" />
		<link rel="stylesheet" href="../../_src/wm-custom.css">
		<script src="../../_third-party/jQuery/jquery-1.9.1.min.js"></script>
		<script src="../../_third-party/bootstrap/bootstrap.min.js"></script>
		<script src="../../_third-party/bootstrap-table/bootstrap-table.js"></script>
		<script src="../../_third-party/bootstrap-datetimepicker/bootstrap-datetimepicker.js"></script>
		<script src="../../_third-party/bootstrap-switch/bootstrap-switch.js"></script>
		<script src="../../_third-party/bootstrap-typeahead/bootstrap-typeahead.js"></script>
		<script src="../../_third-party/jQuery-iCheck/jquery-iCheck.js"></script>
		<script src="../../_third-party/jQuery-zTree/jquery-ztree.js"></script>
		<script src="../../_src/com.alert/alert.js"></script>
		<script type="text/javascript" src="../../_third-party/umeditor/umeditor.min.js" ></script>
		<script src="../../_src/com.model/model.js"></script>
		<script src="../../_src/wm-custom.js"></script>
		<title>model</title>
	</head>
	<body>
		<div class="container pt15">
			
		</div>
		<script>
			$(".container").modelManager({
				method:"get",
				searchModelApi:[
					{field:"month",title:"月份",formType:"month",search:2},
				],
				modelApi:[
					{field:"id",title:"ID",visible:1,isHidden:1},
					{field:"int",title:"整数",maxValue:"100",minValue:"0",valueType:"int"},
					{field:"int2",title:"整数2",maxValue:"100",valueType:"int"},
					{field:"int3",title:"整数3",minValue:"100",valueType:"int"},
					
					{field:"num1",title:"数字",maxValue:"100",minValue:"0",valueType:"number"},
					{field:"num2",title:"数字2",maxValue:"100",valueType:"number"},
					{field:"num3",title:"数字3",minValue:"100",valueType:"number"},
					
					{field:"email",title:"email",valueType:"email"},
					{field:"idcard",title:"idcard",valueType:"idcard"},
					{field:"mobile",title:"mobile",valueType:"mobile"},
					{field:"tel",title:"tel",valueType:"tel"},
					{field:"english",title:"english",valueType:"english"},
					{field:"ennum",title:"ennum",valueType:"ennum"},
					{field:"chinese",title:"chinese",valueType:"chinese"},
					{field:"username",title:"username",valueType:"username"},
					{field:"qq",title:"qq",valueType:"qq"},
					{field:"zipcode",title:"zipcode",valueType:"zipcode"},
					{field:"year",title:"year",valueType:"year"},
					{field:"editor",title:"editor",formType:"editor",cols:12},
				],
				listApi:"json/list.json",
				viewApi:"json/list.json",
				editApi:"json/list.json",
				deleteApi:"json/list.json",
				btnGroupInline:true,
				advSearchBtnText:"",
				onSearchModelLoaded:function(obj){
					
				},
				btnGroupInline:true,
				showRefresh:false,
				showColumns:false,
			})
		</script>
	</body>
</html>
